From 10a887adc61ecdcf4ad37282e820e9504f66dbc3 Mon Sep 17 00:00:00 2001 From: oliskoli Date: Thu, 17 Apr 2008 22:16:36 +0000 Subject: [PATCH] test-all: Add switch -n to create a synthesized reference file. git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@3191 f51c46e8-681c-474f-0cfe-069cfd0219fb --- gpsbabel/test-all | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/gpsbabel/test-all b/gpsbabel/test-all index 891b0b62e..b4b876310 100755 --- a/gpsbabel/test-all +++ b/gpsbabel/test-all @@ -9,6 +9,7 @@ CAPS="" TEMPDIR=${GBTEMP:-/tmp}/gb-test-all CATALOG=/tmp/gb-test-all.done LOGFILE=/tmp/gb-test-all.log +RNDFILE=/tmp/gb-random.gpx # options vg=0 @@ -176,6 +177,10 @@ while [ $# -gt 0 ]; do -c|--clean) trap "rm -fr $TEMPDIR; exit 1" 0 1 2 3 15 ;; + -n|--random) + ${PNAME} -i random -w -f - -i random,points=48 -r -f - -i random,points=120 -t -f - -o gpx,gpxver=1.1 -F $RNDFILE + REFGPX=/tmp/gb-random.gpx + ;; -r|--reference) shift REFGPX=$1 -- 2.30.2